package com.sgcc.pda.web.upload.listener;

/**
 * Created by cj on 2019/11/18.
 * <p>
 * 上传文件，总的监听回调
 */
public interface UploadListener {
    void result(boolean isSuccess, String msg);

    /**
     * status 1 压缩中
     *        2 上传中
     *        3 等待中
     *        4 已取消
     */
    void progress(int current, int total, int status);
}
